#include <assert.h>
#include <stdlib.h>
#include <imbus.h>
#include <stdio.h>

int main (int argc, char *argv [])
{
    IMSize i;
    IMSize x, y;
    IMPointer pointers [256][255];

    im_init (&argc, &argv);

    for (i = 0; i < 1000; ++i) {
        for (x = 0; x < 256; ++x)
            for (y = 0; y < 255; ++y)
                pointers [x] [y] = malloc (x + 1);

        for (x = 0; x < 256; ++x)
            for (y = 0; y < 255; ++y)
                free (pointers [x] [y]);
    }

    return 0;
}
/*
vi:ts=4:nowrap:ai:expandtab
*/
